﻿<UserControl x:Class="ZFCLoader.Loader"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" MinHeight="500" MinWidth="1000"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
	<UserControl.Resources>
		<Storyboard x:Name="EndPreloader">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="LayoutRoot">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
   
    <Grid x:Name="LayoutRoot" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="#FF111111" d:DesignWidth="1002" d:DesignHeight="500" Width="997" Height="800">
        <Grid.RowDefinitions>
            <RowDefinition Height="0.575*"/>
            <RowDefinition Height="0.425*"/>
        </Grid.RowDefinitions>
        <TextBlock x:Name="ProgressText" Margin="0,0,22,0" Text="0%" Grid.Row="1" TextWrapping="Wrap" HorizontalAlignment="Right" VerticalAlignment="Top" FontFamily="Trebuchet MS" FontSize="24" FontWeight="Bold" Opacity="1" Foreground="White"/>
        <Canvas x:Name="canvas" HorizontalAlignment="Left" Margin="17,0,0,0" Width="370" VerticalAlignment="Bottom" Height="400">
            <Path Data="M18.833334,269.16666 C16.110271,267.09607 19.075581,261.10956 26.250797,251.00014 C26.250797,251.00014 39.833668,242.83301 39.833668,242.83301 C41.452591,234.25131 49.365189,233.76672 60.16766,237.00009 C82.334206,236.33386 103.33437,218.33435 122.00115,229.33353 C132.00786,222.85919 137.00128,206.33467 150.00137,197.33458 L147.66803,194.66832 L165.33482,163.00201 C162.73976,159.75241 161.47636,155.8255 160.25172,151.3356 C160.3351,146.58588 162.46545,144.26924 162.83513,141.75266 C160.99393,140.39792 160.26773,136.84639 160.25177,135.16946 L168.66847,122.33666 C168.66841,117.55911 167.91841,114.0865 169.25185,108.4201 C172.72733,101.61675 175.14488,95.514351 176.66859,90.004181 L183.33499,81.292267 L182.41833,74.209122 C185.11862,73.729416 187.9326,73.568001 190.96004,74.004242 C193.17494,71.380646 194.45395,69.141663 194.87709,67.254402 C191.00432,63.74469 190.33539,55.754673 193.41867,49.004829 C198.16879,40.838356 201.66884,32.505219 207.50221,30.505264 C225.22014,30.1325 233.00493,39.679253 234.50247,55.504677 C233.88092,61.160137 230.83578,64.753998 228.25247,67.004349 C227.9931,70.02951 228.37881,71.395142 228.28368,73.785057 L227.53366,73.785057 L227.47116,74.378792 L226.1274,74.472542 L226.15865,75.003784 L224.78363,75.097527 L224.78363,75.785019 L224.09613,75.878761 L224.06488,77.191238 L223.25238,77.087074 L223.16904,77.795387 L222.12737,78.128716 L221.91902,80.37867 L222.54404,80.545334 L222.58569,81.503647 L221.91902,81.461975 L221.83569,83.503601 L221.16902,84.086922 L220.50235,84.211922 L220.54401,84.795242 L213.62727,85.045235 L213.58562,86.711868 L214.12729,86.920197 L214.21062,87.503517 L231.83578,86.50354 C234.0399,85.01033 236.41479,84.537712 239.00252,85.336891 C248.50232,78.837036 252.12686,77.368317 260.62723,87.534767 C264.68976,87.84726 264.08075,92.244652 259.83575,93.003395 C259.83575,93.003395 259.50272,94.482529 259.6694,93.982544 L258.98203,94.065872 L258.98203,94.628365 L257.35703,94.690865 L257.31534,94.107544 L254.87782,94.00338 L254.79448,94.607529 C249.81526,97.753296 246.75273,95.315849 241.81519,95.003357 C233.38774,97.363495 227.17517,101.41197 222.00249,106.25311 C229.73898,128.61179 227.25253,168.16846 220.25246,180.50153 C223.7525,184.87643 223.57693,190.50755 222.50249,200.00111 C236.7043,214.52623 250.28259,229.99136 263.00299,246.74988 L260.75287,266.49969 L263.0029,269.49963 L267.00293,310.49875 L270.33633,309.66544 C272.75308,318.49829 288.00327,316.74832 302.67041,318.99857 C307.00256,329.24789 290.95886,339.40244 257.2525,338.99786 C253.7843,337.78452 250.78076,335.20993 248.33617,330.99799 L250.3362,325.33145 C247.87709,317.62308 247.46402,307.14346 245.33614,296.99875 C240.74419,288.54297 237.23679,278.35513 234.66936,266.66611 L237.66939,265.66614 L238.00273,259.9996 L195.66895,226.66701 C192.00168,221.16699 179.16824,228.83348 167.33531,226.66701 L135.50127,249.49966 L115.16809,249.49982 L111.66805,252.83308 L58.667488,256.66632 L58.000816,262.6662 L36.667255,266.66611 z" StrokeStartLineCap="Flat" Stretch="Fill" StrokeEndLineCap="Flat" Stroke="#FFFFC700" StrokeThickness="1" StrokeMiterLimit="10" StrokeLineJoin="Miter" UseLayoutRounding="False" Width="370" Height="400">
            	<Path.Fill>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFF7F7F7" Offset="0"/>
            			<GradientStop Color="#FFFF2300" Offset="1"/>
            		</LinearGradientBrush>
            	</Path.Fill>
            </Path>
            <Ellipse Height="58" StrokeStartLineCap="Flat" StrokeEndLineCap="Flat" Stroke="#FFFFDE00" StrokeThickness="1" StrokeMiterLimit="10" StrokeLineJoin="Miter" Width="58" Canvas.Left="384" Canvas.Top="338">
            	<Ellipse.Fill>
            		<RadialGradientBrush>
            			<GradientStop Color="#FFF73D3D" Offset="1"/>
            			<GradientStop Color="Red"/>
            			<GradientStop Color="#FFF90000" Offset="0.461"/>
            		</RadialGradientBrush>
            	</Ellipse.Fill>
            </Ellipse>
        </Canvas>
        <Rectangle x:Name="rectangle" Fill="#FFFFC700" Height="3" StrokeStartLineCap="Flat" StrokeEndLineCap="Flat" Stroke="Black" StrokeThickness="1" StrokeMiterLimit="10" StrokeLineJoin="Miter" VerticalAlignment="Top" Grid.Row="1" RenderTransformOrigin="0,0.5" Margin="10,0">
            <Rectangle.RenderTransform>
                <CompositeTransform x:Name="Trns" ScaleX="0"/>
            </Rectangle.RenderTransform>
        </Rectangle>
        <Rectangle HorizontalAlignment="Right" Stroke="Black" Width="10" StrokeThickness="0" RenderTransformOrigin="0.5,0.5" Grid.RowSpan="2">
        	<Rectangle.RenderTransform>
        		<CompositeTransform ScaleX="-1"/>
        	</Rectangle.RenderTransform>
        	<Rectangle.Fill>
        		<LinearGradientBrush StartPoint="0.114,1" EndPoint="1.133,1">
        			<GradientStop Offset="0"/>
        			<GradientStop Offset="1"/>
        			<GradientStop Color="Black" Offset="0.517"/>
        		</LinearGradientBrush>
        	</Rectangle.Fill>
        </Rectangle>
        <Rectangle HorizontalAlignment="Left" Stroke="Black" Width="10" StrokeThickness="0" RenderTransformOrigin="0.5,0.5" Grid.RowSpan="2">
        	<Rectangle.RenderTransform>
        		<CompositeTransform/>
        	</Rectangle.RenderTransform>
        	<Rectangle.Fill>
        		<LinearGradientBrush StartPoint="0.114,1" EndPoint="1.133,1">
        			<GradientStop Offset="0"/>
        			<GradientStop Offset="1"/>
        			<GradientStop Color="Black" Offset="0.517"/>
        		</LinearGradientBrush>
        	</Rectangle.Fill>
        </Rectangle>
    </Grid>
</UserControl>
